<?php slot('sf_admin.current_header') ?>
<th class="sf_admin_text sf_admin_list_th_marca">
  <?php if ('marca' == $sort[0]): ?>
    <?php echo link_to(__('Marca', array(), 'messages'), '@crm_vehiculo', array('query_string' => 'sort=marca&sort_type='.($sort[1] == 'asc' ? 'desc' : 'asc'))) ?>
    <?php echo image_tag(sfConfig::get('sf_admin_module_web_dir').'/images/'.$sort[1].'.png', array('alt' => __($sort[1], array(), 'sf_admin'), 'title' => __($sort[1], array(), 'sf_admin'))) ?>
  <?php else: ?>
    <?php echo link_to(__('Marca', array(), 'messages'), '@crm_vehiculo', array('query_string' => 'sort=marca&sort_type=asc')) ?>
  <?php endif; ?>
</th>
<?php end_slot(); ?>
<?php include_slot('sf_admin.current_header') ?><?php slot('sf_admin.current_header') ?>
<th class="sf_admin_text sf_admin_list_th_modelo">
  <?php if ('modelo' == $sort[0]): ?>
    <?php echo link_to(__('Modelo', array(), 'messages'), '@crm_vehiculo', array('query_string' => 'sort=modelo&sort_type='.($sort[1] == 'asc' ? 'desc' : 'asc'))) ?>
    <?php echo image_tag(sfConfig::get('sf_admin_module_web_dir').'/images/'.$sort[1].'.png', array('alt' => __($sort[1], array(), 'sf_admin'), 'title' => __($sort[1], array(), 'sf_admin'))) ?>
  <?php else: ?>
    <?php echo link_to(__('Modelo', array(), 'messages'), '@crm_vehiculo', array('query_string' => 'sort=modelo&sort_type=asc')) ?>
  <?php endif; ?>
</th>
<?php end_slot(); ?>
<?php include_slot('sf_admin.current_header') ?><?php slot('sf_admin.current_header') ?>
<th class="sf_admin_text sf_admin_list_th_matricula">
  <?php if ('matricula' == $sort[0]): ?>
    <?php echo link_to(__('Matricula', array(), 'messages'), '@crm_vehiculo', array('query_string' => 'sort=matricula&sort_type='.($sort[1] == 'asc' ? 'desc' : 'asc'))) ?>
    <?php echo image_tag(sfConfig::get('sf_admin_module_web_dir').'/images/'.$sort[1].'.png', array('alt' => __($sort[1], array(), 'sf_admin'), 'title' => __($sort[1], array(), 'sf_admin'))) ?>
  <?php else: ?>
    <?php echo link_to(__('Matricula', array(), 'messages'), '@crm_vehiculo', array('query_string' => 'sort=matricula&sort_type=asc')) ?>
  <?php endif; ?>
</th>
<?php end_slot(); ?>
<?php include_slot('sf_admin.current_header') ?><?php slot('sf_admin.current_header') ?>
<th class="sf_admin_text sf_admin_list_th_tipo_motor">
  <?php if ('tipo_motor' == $sort[0]): ?>
    <?php echo link_to(__('Tipo Motor', array(), 'messages'), '@crm_vehiculo', array('query_string' => 'sort=tipo_motor&sort_type='.($sort[1] == 'asc' ? 'desc' : 'asc'))) ?>
    <?php echo image_tag(sfConfig::get('sf_admin_module_web_dir').'/images/'.$sort[1].'.png', array('alt' => __($sort[1], array(), 'sf_admin'), 'title' => __($sort[1], array(), 'sf_admin'))) ?>
  <?php else: ?>
    <?php echo link_to(__('Tipo Motor', array(), 'messages'), '@crm_vehiculo', array('query_string' => 'sort=tipo_motor&sort_type=asc')) ?>
  <?php endif; ?>
</th>
<?php end_slot(); ?>
<?php include_slot('sf_admin.current_header') ?><?php slot('sf_admin.current_header') ?>
<th class="sf_admin_text sf_admin_list_th_anyo">
  <?php if ('anyo' == $sort[0]): ?>
    <?php echo link_to(__('Año', array(), 'messages'), '@crm_vehiculo', array('query_string' => 'sort=anyo&sort_type='.($sort[1] == 'asc' ? 'desc' : 'asc'))) ?>
    <?php echo image_tag(sfConfig::get('sf_admin_module_web_dir').'/images/'.$sort[1].'.png', array('alt' => __($sort[1], array(), 'sf_admin'), 'title' => __($sort[1], array(), 'sf_admin'))) ?>
  <?php else: ?>
    <?php echo link_to(__('Año', array(), 'messages'), '@crm_vehiculo', array('query_string' => 'sort=anyo&sort_type=asc')) ?>
  <?php endif; ?>
</th>
<?php end_slot(); ?>
<?php include_slot('sf_admin.current_header') ?><?php slot('sf_admin.current_header') ?>
<th class="sf_admin_text sf_admin_list_th_kms">
  <?php if ('kms' == $sort[0]): ?>
    <?php echo link_to(__('Kms', array(), 'messages'), '@crm_vehiculo', array('query_string' => 'sort=kms&sort_type='.($sort[1] == 'asc' ? 'desc' : 'asc'))) ?>
    <?php echo image_tag(sfConfig::get('sf_admin_module_web_dir').'/images/'.$sort[1].'.png', array('alt' => __($sort[1], array(), 'sf_admin'), 'title' => __($sort[1], array(), 'sf_admin'))) ?>
  <?php else: ?>
    <?php echo link_to(__('Kms', array(), 'messages'), '@crm_vehiculo', array('query_string' => 'sort=kms&sort_type=asc')) ?>
  <?php endif; ?>
</th>
<?php end_slot(); ?>
<?php include_slot('sf_admin.current_header') ?><?php slot('sf_admin.current_header') ?>
<th class="sf_admin_date sf_admin_list_th_fecha_itv">
  <?php if ('fecha_itv' == $sort[0]): ?>
    <?php echo link_to(__('Fecha Itv', array(), 'messages'), '@crm_vehiculo', array('query_string' => 'sort=fecha_itv&sort_type='.($sort[1] == 'asc' ? 'desc' : 'asc'))) ?>
    <?php echo image_tag(sfConfig::get('sf_admin_module_web_dir').'/images/'.$sort[1].'.png', array('alt' => __($sort[1], array(), 'sf_admin'), 'title' => __($sort[1], array(), 'sf_admin'))) ?>
  <?php else: ?>
    <?php echo link_to(__('Fecha Itv', array(), 'messages'), '@crm_vehiculo', array('query_string' => 'sort=fecha_itv&sort_type=asc')) ?>
  <?php endif; ?>
</th>
<?php end_slot(); ?>
<?php include_slot('sf_admin.current_header') ?><?php slot('sf_admin.current_header') ?>
<th class="sf_admin_foreignkey sf_admin_list_th_cliente_id">
  <?php if ('cliente_id' == $sort[0]): ?>
    <?php echo link_to(__('Cliente', array(), 'messages'), '@crm_vehiculo', array('query_string' => 'sort=cliente_id&sort_type='.($sort[1] == 'asc' ? 'desc' : 'asc'))) ?>
    <?php echo image_tag(sfConfig::get('sf_admin_module_web_dir').'/images/'.$sort[1].'.png', array('alt' => __($sort[1], array(), 'sf_admin'), 'title' => __($sort[1], array(), 'sf_admin'))) ?>
  <?php else: ?>
    <?php echo link_to(__('Cliente', array(), 'messages'), '@crm_vehiculo', array('query_string' => 'sort=cliente_id&sort_type=asc')) ?>
  <?php endif; ?>
</th>
<?php end_slot(); ?>
<?php include_slot('sf_admin.current_header') ?>